package com.health.db.service.user;

import java.util.List;

import com.health.db.model.UserCardIssue;
import com.health.db.model.UserCardJournal;
import com.health.db.model.UserCardList;
import com.health.db.model.UserCardListExt;

/**
 * 卡激活相关接口
 * @author YC
 *
 */
public interface IUserCardListService {

	    int insertUserCardJournal(UserCardJournal record);
	    
	    List<UserCardList>  selectUserCardLists(UserCardListExt example);

	    UserCardList  selectByCardId(Long cardId) ;
	    
	    UserCardIssue selectUserCardIssueByPasword(String password);
	    
	    int activeUserCardByPasword(Long userId,UserCardIssue issue);
	    
	    int activeRechargeCardByPasword(Long userId,UserCardIssue issue);
	    
	    int activeUserCardByRecharge(Long userId,Long cardTypeId ) ;
	    
	    int activeVIPUserCard(Long userId,UserCardIssue issue);
	    
	    int activeCourseCard(Long userId,UserCardIssue issue);
}
